<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <title>项目页</title>
</head>
<body>
<div class="table-responsive">
    <table class="table table-striped">
        <thead>
        <tr>
            <th style="text-align:center">项目id</th>
            <th style="text-align:center">项目名称</th>
            <th style="text-align:center">简介</th>
            <th style="text-align:center">创建时间</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${projectInfoWebs}" var="projectinfo">
            <tr>
                <td style="text-align:center">${projectinfo.id}</td>
                <td style="text-align:center;width:180px; height:51px; word-wrap:break-word; word-break:break-all">
                    <a href="/case/list?projectid=${projectinfo.id}">${projectinfo.projectname}</a>
                </td>
                <td style="text-align:center;width:180px; height:51px; word-wrap:break-word; word-break:break-all">${projectinfo.projectinfo}</td>
                <fmt:formatDate type="both" value="${projectinfo.createtime}" var="createtime" />
                <td style="text-align:center">${createtime}</td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
</div>
</body>
</html>
